how to get the 4th child of an html element

111

how to get the 4th child of an html element -

var elem = document.querySelector('.abc el-tag:nth-child(4)');

Comments

Submit
0 Comments